package com.last.entity;

import lombok.*;

@Data
@AllArgsConstructor
@NoArgsConstructor
@RequiredArgsConstructor

//结果集
public class Result<T> {
    //成功提示
    @NonNull
    private Boolean success;
    //提示消息
    private String message;
    //当前页数据
    private T Data;

    public Result(Boolean success,String msg){
        this.success = success;
        this.message = msg;
    }
}
